package com.example.resource.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("api")
public class ProjectController {

    @GetMapping("hello")
    public Map<String, Object> hello() {
        HashMap<String, Object> map = new HashMap<>();
        map.put("hello", 1);
        map.put("world", 2);

        return map;
    }

}
